<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
			<!-- saved from url=(0014)about:internet -->
			<html>
	<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"><meta http-equiv="X-UA-Compatible" content="IE=9"><meta name="book" content="ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Open Source Media Framework&nbsp;Reference"><meta name="lang" content="en-us"><link rel="stylesheet" href="../../../style.css" type="text/css" media="screen"><link rel="stylesheet" href="../../../print.css" type="text/css" media="print"><link rel="stylesheet" href="../../../override.css" type="text/css"><link rel="stylesheet" href="../../../ion.css" type="text/css"><title>org.osmf.traits - Summary ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Components&nbsp;Reference (ActionScript 3.0)</title>
	<link rel="stylesheet" href="../../../standalone-style.css" type="text/css">
		<script type="text/javascript">
			
				var baseRef = "../../../";
				var buildType = 'standalone';
				var alreadyrunflag=0; //flag to indicate whether target function has already been run
if (document.addEventListener)
  document.addEventListener("DOMContentLoaded", function(){alreadyrunflag=1; init()}, false)
else if (document.all && !window.opera){
 /* blocks IE from working, as it's fired before dom if ready
  document.write('<script type="text/javascript" id="contentloadtag" defer="defer" src="javascript:void(0)"><\/script>')
  var contentloadtag=document.getElementById("contentloadtag")
  contentloadtag.onreadystatechange=function(){
    if (this.readyState=="complete"){
      alreadyrunflag=1;
      init();
    }
  }*/
} else if(/Safari/i.test(navigator.userAgent)){ //Test for Safari
  var _timer=setInterval(function(){
  if(/loaded|complete/.test(document.readyState)){
    clearInterval(_timer)
    init() // call target function
  }}, 10)
}		
function onLoadFunction() {
	setTimeout("if (!alreadyrunflag) init()", 0);
}
function submitValueStandaloneSearch(){
var searchStr=document.getElementById('search-livedocs').value;
window.location=baseRef+"search.html"+"###"+searchStr;
}


		</script>
		<script language="javascript" type="text/javascript" src="../../../cookies.js"></script>
		<script language="javascript" type="text/javascript" src="../../../asdoc.js"></script>
		<!--oss:off-->
	</head>
	<body onLoad="onLoadFunction()">
		<a name="top"></a>
		
		<table class="titleTable" cellpadding="0" cellspacing="0">
		  <tr>
			<td>
			  <table class="titleTable" cellpadding="0" cellspacing="0">
				<tr>
				  <td class="titleTableTitle" align="left" nowrap="true">ActionScript&nbsp;3.0&nbsp;Language&nbsp;and&nbsp;Open Source Media Framework&nbsp;Reference<br>
				  <span class="titleTableTopNav">
				  <a id="showtoc" onClick="showHideTOC(true)" href="#top" style="display:">Show Packages and Classes List</a><a id="hidetoc" onClick="showHideTOC(false)" href="#top" style="display:none">Hide Packages and Classes List</a>&nbsp;|&nbsp;
				  <a href="../../../package-summary.html"> Packages </a>&nbsp;|&nbsp;
			      <a href="../../../class-summary.html"> Classes </a>&nbsp;|&nbsp;
				  <a href="../../../all-index-Symbols.html"> Index </a>&nbsp;|&nbsp;
				  <a href="../../../appendixes.html"> Appendixes </a><br>
				  </span>	
				  </td>
				  <td class="titleTableSearch" align="right" nowrap="true">
				  <span id="gsa" class="gsa">
				<form class="searchForm" method="get" action="../../../search.html" onSubmit="submitValueStandaloneSearch()">
				  <input class="hidden" name="loc" value="" type="hidden">
				  <input class="hidden" name="termPrefix" value="" type="hidden">
				  <input class="hidden" name="term" value="" type="hidden">
				  <input class="hidden" name="area" value="" type="hidden">
				  <input class="searchinput" id="search-livedocs" name="search_text" value="" title="" type="text">
				  <input type="button" name="action" value="" onClick="submitValueStandaloneSearch()" class="searchbutton">
				  </form>
				  </span>				  
				  </td>
				</tr>
			  </table>			
			  </td>
			<td class="titleTableLogo" align="right" rowspan="3"><img src="../../../images/logoION.jpg" class="logoImageION" alt=" Adobe Logo " title=" Adobe Logo "></td>
		  </tr>
		  <tr>
			<td colspan="2">
			  <table class="titleTable" cellpadding="0" cellspacing="0">
				<tr class="titleTableRow2">
				<td class="titleTableSubTitle" id="subTitle" align="left" colspan="2">
					<a href="package-detail.html" id="packageName" style="font-size:11px;">&nbsp;</a><br>
					<convert>org.osmf.traits&nbsp;</convert>
				</td>
				<td class="titleTableSubNav" id="subNav" align="right">
				  <a id="propertiesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('propertySummary');" style="display:none"> Properties </a>
				  <span id="propertiesBar" style="display:none"> | </span>
				  <a id="packagePropertiesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('propertySummary');" style="display:none"> Properties </a>
				  <span id="packagePropertiesBar" style="display:none"> | </span>
				  <a id="constructorLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('constructorSummary');" style="display:none"> Constructor </a>
				  <span id="constructorBar" style="display:none"> | </span>
				  <a id="methodsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('methodSummary');" style="display:none"> Methods </a>
				  <span id="methodsBar" style="display:none"> | </span>
				  <a id="packageFunctionsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('methodSummary');" style="display:none"> Functions </a>
				  <span id="packageFunctionsBar" style="display:none"> | </span>
				  <a id="eventsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('eventSummary');" style="display:none"> Events </a>
				  <span id="eventsBar" style="display:none"> | </span>
				  <a id="stylesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('styleSummary');" style="display:none"> Styles </a>
				  <span id="stylesBar" style="display:none"> | </span>
				  <a id="SkinPartLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('SkinPartSummary');" style="display:none"> Skin Parts </a>
				  <span id="SkinPartBar" style="display:none"> | </span>
				  <a id="SkinStateLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('SkinStateSummary');" style="display:none"> Skin States </a>
				  <span id="SkinStateBar" style="display:none"> | </span>
				  <a id="effectsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('effectSummary');" style="display:none"> Effects </a>
				  <span id="effectsBar" style="display:none"> | </span>
				  <a id="constantsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('constantSummary');" style="display:none"> Constants </a>
				  <span id="constantsBar" style="display:none"> | </span>
				  <a id="packageConstantsLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('constantSummary');" style="display:none"> Constants </a>
				  <span id="packageConstantsBar" style="display:none"> | </span>
				  <a id="interfacesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('interfaceSummary');" style="display:none"> Interfaces </a>
				  <span id="interfacesBar" style="display:none"> | </span>
				  <a id="classesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('classSummary');" style="display:none"> Classes </a>
				  <span id="classesBar" style="display:none"> | </span>
				  <a id="packageUseLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('package-use.html');" style="display:none">Use</a>
				  <span id="packageUseBar" style="display:none"> | </span>
				  <a id="examplesLink" href="#top" onClick="javascript:titleBar_gotoClassFrameAnchor('includeExamplesSummary');" style="display:none"> Examples </a>
				</td>
				</tr>
				<tr class="titleTableRow3">
				  <td colspan="4"></td>
				</tr>
			  </table>
			</td>
		  </tr>
		</table>
        <div class="maincontainer" id="maincontainer" style="display:none">
			<div class="mainleft" id="toc">
				<div id="packagelist" class="packagelist"></div>
				<div class="h_splitter" id="h_splitter" onMouseDown="h_splitterMouseDown(event, this);" onMouseUp="h_splitterMouseUp(event);" onMouseMove="h_splitterMouseMove(event);"></div>
				<div id="classlist" class="classlist">
					<div class="classlistoutline"></div>
				</div>
			</div>
			<div class="splitter" id="splitter" onMouseDown="splitterMouseDown(event, this);" onMouseUp="splitterMouseUp(event);" onMouseMove="splitterMouseMove(event);">
			</div>
			<!--oss:on--><div class="mainright" id="content">
				<div class="content"><br xmlns:xd="http://www.pnp-software.com/XSLTdoc"><p xmlns:xd="http://www.pnp-software.com/XSLTdoc">The org.osmf.traits package provides the building blocks for creating specific media traits. 
             Traits define the capabilities of a media element.
             <p>Different implementations of a media element aggregate different sets of traits,
             depending on the characteristics of the media they represent.
             For example, an audio element may aggregate the IAudible, IPlayable, ITemporal and ILoadable traits.
             These individual traits define the capabilities of the media element independently of the specific media element implementation.
             For a media element that has the ILoadable trait, the trait provides the media element's load and unload capability.
             Similarly, the implementation of the IPlayable trait provides media element's ability to play itself.
             </p>
             <p>A trait is added to a media element through the element's <code>MediaElement.addTrait()</code> method.
             </p>
             <p>Implementation of media traits is predicated on the following principles:
             <ul>
             <li>Traits are independent of one another. Therefore, a media trait does not extend another media trait.</li>
             <li>Traits dispatch their own events. Trait implementations can derive from the MediaTraitBase class, 
             which extends EventDispatcher and implements IMediaTrait, to handle event dispatching.</li>
             <li>Traits are identified by the MediaTraitType enumeration class.</li>
             <li>Traits should  be implemented as separate classes.</li>
             </ul>        
             </p>
             <p>The traits interfaces are intended for use by media element classes.
             They are generic outward-facing entities characterized primarily by getters without setters,
             except for traits that require externally settable properties, such as the volume or pan
             properties of an IAudible.</p> 
             <p>The base trait classes are intended for use by implementations that subclass MediaElement.
             They generally have both setters and getters. 
             </p>             
             </p><br xmlns:xd="http://www.pnp-software.com/XSLTdoc"><hr xmlns:xd="http://www.pnp-software.com/XSLTdoc"><a xmlns:xd="http://www.pnp-software.com/XSLTdoc" name="classSummary"></a><div xmlns:xd="http://www.pnp-software.com/XSLTdoc" class="summaryTableTitle">Classes</div><table xmlns:xd="http://www.pnp-software.com/XSLTdoc" cellpadding="3" cellspacing="0" class="summaryTable" id="summaryTableIdClass"><tr><th>&nbsp;</th><th width="30%">Class</th><th width="70%">Description</th></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.6##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="AlternativeAudioTrait.html" onclick="clearAllClassesListCookie();">AlternativeAudioTrait</a></td><td class="summaryTableLastCol">
	 AlternativeAudioTrait defines the trait interface for media supporting alternative
	 audio streams.</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="AudioTrait.html" onclick="clearAllClassesListCookie();">AudioTrait</a></td><td class="summaryTableLastCol">
	 AudioTrait defines the trait interface for media that have audio.</td></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="BufferTrait.html" onclick="clearAllClassesListCookie();">BufferTrait</a></td><td class="summaryTableLastCol">
	 BufferTrait defines the trait interface for media that can use a data buffer.</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="DisplayObjectTrait.html" onclick="clearAllClassesListCookie();">DisplayObjectTrait</a></td><td class="summaryTableLastCol">
	 DisplayObjectTrait defines the trait interface for media that expose a DisplayObject,
	 and which may have intrinsic dimensions.</td></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10.1##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="DRMState.html" onclick="clearAllClassesListCookie();">DRMState</a></td><td class="summaryTableLastCol">
	 DRMState is the enumeration of possible DRM-specific states that a
	 piece of media can be in.</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10.1##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="DRMTrait.html" onclick="clearAllClassesListCookie();">DRMTrait</a></td><td class="summaryTableLastCol">
	 DRMTrait defines the trait interface for media which can be
	 protected by digital rights management (DRM) technology.</td></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="DVRTrait.html" onclick="clearAllClassesListCookie();">DVRTrait</a></td><td class="summaryTableLastCol">
	 DVRTrait defines the trait interface for media that can be played
	 while in the process of being recorded, as if with a digital video
	 recorder (DVR).</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="DynamicStreamTrait.html" onclick="clearAllClassesListCookie();">DynamicStreamTrait</a></td><td class="summaryTableLastCol">
	 DynamicStreamTrait defines the trait interface for media supporting dynamic stream
	 switching.</td></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="LoaderBase.html" onclick="clearAllClassesListCookie();">LoaderBase</a></td><td class="summaryTableLastCol">
	 LoaderBase is the base class for objects that are capable of loading
	 and unloading LoadTraits.</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="LoadState.html" onclick="clearAllClassesListCookie();">LoadState</a></td><td class="summaryTableLastCol">
	 LoadState is the enumeration of possible states that a LoadTrait
	 can be in.</td></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="LoadTrait.html" onclick="clearAllClassesListCookie();">LoadTrait</a></td><td class="summaryTableLastCol">
	 LoadTrait defines the trait interface for media that must be loaded before it
	 can be presented.</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="MediaTraitBase.html" onclick="clearAllClassesListCookie();">MediaTraitBase</a></td><td class="summaryTableLastCol">
	 A MediaTraitBase is the encapsulation of a trait or capability that's
	 inherent to a MediaElement.</td></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="MediaTraitType.html" onclick="clearAllClassesListCookie();">MediaTraitType</a></td><td class="summaryTableLastCol">
	 MediaTraitType is the enumeration of all possible media trait types.</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="PlayState.html" onclick="clearAllClassesListCookie();">PlayState</a></td><td class="summaryTableLastCol">
	 PlayState is the enumeration of possible states that a PlayTrait
	 can be in.</td></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="PlayTrait.html" onclick="clearAllClassesListCookie();">PlayTrait</a></td><td class="summaryTableLastCol">
	 PlayTrait defines the trait interface for media whose playback can be started
	 and stopped.</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="SeekTrait.html" onclick="clearAllClassesListCookie();">SeekTrait</a></td><td class="summaryTableLastCol">
	 SeekTrait defines the trait interface for media that can be instructed
	 to jump to a position in time.</td></tr><tr class="prow1" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="TimeTrait.html" onclick="clearAllClassesListCookie();">TimeTrait</a></td><td class="summaryTableLastCol">
	 TimeTrait defines the trait interface for media that have a duration and
	 a currentTime.</td></tr><tr class="prow0" languageVersion="3.0" runtime="Flash::10##AIR::1.5##" product="OSMF::1.0##"><td class="summaryTablePaddingCol">&nbsp;</td><td class="summaryTableSecondCol"><a href="TraitEventDispatcher.html" onclick="clearAllClassesListCookie();">TraitEventDispatcher</a></td><td class="summaryTableLastCol">
	 TraitEventDispatcher is a utility class that exposes a uniform
	 interface for receiving trait events from a MediaElement.</td></tr></table><p xmlns:xd="http://www.pnp-software.com/XSLTdoc"></p><p xmlns:xd="http://www.pnp-software.com/XSLTdoc"></p><center class="copyright"> &copy; 2011 Adobe Systems Incorporated. All rights reserved. <br/>Sun Sep 4 2011, 08:09 PM -07:00  </center></div>
				<div class="contentfooter"><div class="separator">&nbsp;</div><p id="creativecommons" class="creativecommons"><a href="http://creativecommons.org/licenses/by-nc-sa/3.0/" target="external"><span class="sprite CC">&nbsp;</span></a></p><a class="legal" target="external" href="">Legal Notices</a>&nbsp;|&nbsp;<a class="privacy" href="http://www.adobe.com/misc/privacy.html" target="external">Online Privacy Policy</a></div>
			</div>
		</div>
		<div class="footer">
		</div>
	</body>
</html><!-- &copy; 2011 Adobe Systems Incorporated. All rights reserved. <br/>Sun Sep 4 2011, 08:09 PM -07:00  -->
